/**
 * 登录注册相关reducer
 */
const initial = {
    bind_bank_order_id: ""
}

export const bank = (state = initial, action) => {
    switch (action.type) {
        case 'SAVE_BANK_BIND_INFO':
            return { bind_bank_order_id: action.data.data }
        case 'CLEAN_BANK_BIND_INFO':
            return { userInfo: null }
    }
    return state;
}
